/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

.order-details {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.order-id {
  font-size: 1.5em;
  font-weight: bold;
}

.order-status {
  padding: 8px 16px;
  border-radius: 20px;
  background: #f0f0f0;
}

.order-products {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.order-products th,
.order-products td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 15px;
}

.product-name {
  display: inline-block;
  vertical-align: middle;
}

.order-summary {
  text-align: right;
  font-size: 1.2em;
  font-weight: bold;
}

.pay-my-order,
.refund-button {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background: #2ecc71;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pay-my-order:hover,
.refund-button:hover {
  background: #27ae60;
}

.pay-my-order:active,
.refund-button:active {
  transform: translateY(1px);
}